package com.xindacloud.sms.console.system.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.time.LocalDateTime;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 系统主菜单表
 * </p>
 *
 * @author czc
 * @since 2019-10-08
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel
public class SmsUiContent implements Serializable {

	private static final long serialVersionUID = 1L;

	/**
	 * 内容id
	 */
	@TableId(value = "id", type = IdType.AUTO)
	@ApiModelProperty(value = "内容id")
	private Integer id;

	/**
	 * 菜单名称
	 */
	@ApiModelProperty(value = "菜单名称")
	private String titleName;

	/**
	 * 菜单描述
	 */
	@ApiModelProperty(value = "菜单描述")
	private String titleContent;
	

	/**
	 * 没有父节点为-1
	 */
	@ApiModelProperty(value = "父菜單id")
	private Integer parentId;

	/**
	 * 排序ID
	 */
	@ApiModelProperty(value = "排序ID")
	private Integer sortId;

	/**
	 * 创建时间
	 */
	@ApiModelProperty(value = "创建时间")
	private LocalDateTime createTime;

}
